﻿using ERP.ERPSystem.WarehouseManagement.Dto;
using ERP.Team.WarehouseManagement;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace ERP.ERPSystem.WarehouseManagement
{
    /// <summary>
    /// 仓储管理-库存盘点-xzc
    /// </summary>
    public interface IInventoryCountsServices:IApplicationService
    {
        /// <summary>
        /// 新增库存盘点
        /// </summary>
        /// <param name="inventorycountsDto"></param>
        /// <returns></returns>
        Task<int> AddInventoryCounts(InventoryCountsDto inventorycountsDto);
        /// <summary>
        /// 更改库存盘点
        /// </summary>
        /// <param name="inventorycountsDto"></param>
        /// <returns></returns>
        Task<int> UpdateInventoryCounts(InventoryCountsDto inventorycountsDto);
        /// <summary>
        /// 通过id查询到相对应的库存盘点
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<List<InventoryCounts>> FindInventoryCounts(int id);
        /// <summary>
        /// 删除库存盘点
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task DeletedInventoryCounts(int id);
        /// <summary>
        /// 查询库存盘点
        /// </summary>
        /// <param name="getinventorycountsdto"></param>
        /// <returns></returns>
        Task<List<InventoryCounts>> GetInventoryCounts(GetInventoryCountsDto getinventorycountsdto);
    }
}
